package com.wmz.policyMode.context;

import com.wmz.policyMode.strategy.Strategy;

/**
 * @version 1.0
 * @Author： 李鹤春
 * @date： 2025/2/28 13:55
 * @description: 环境类
 */
public class Context {
    private Strategy strategy;
    public Strategy getStrategy() {
        return strategy;
    }
    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }
    public void strategyMethod() {
        strategy.strategyMethod();
    }
}
